package com.aistar.mapper;

import com.aistar.pojo.Member;
<<<<<<< HEAD
import org.springframework.stereotype.Repository;

@Repository
public interface MemberMapper {
    public Member selectByPrimaryKey(int id);
    public int save(Member member);
    public int update(Member member);
    public int delete(int id);
    public int selectByOthers(String memberName,String memberPwd);

    public int updateByPrimaryKey(Member member1);

    int deleteByPrimaryKey(int id);
    public int updateScore(Member member);
}
=======
import com.aistar.pojo.MemberExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MemberMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table member
     *
     * @mbggenerated Thu Sep 05 20:11:35 CST 2019
     */
    int countByExample(MemberExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table member
     *
     * @mbggenerated Thu Sep 05 20:11:35 CST 2019
     */
    int deleteByExample(MemberExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table member
     *
     * @mbggenerated Thu Sep 05 20:11:35 CST 2019
     */
    int deleteByPrimaryKey(Integer memberId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table member
     *
     * @mbggenerated Thu Sep 05 20:11:35 CST 2019
     */
    int insert(Member record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table member
     *
     * @mbggenerated Thu Sep 05 20:11:35 CST 2019
     */
    int insertSelective(Member record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table member
     *
     * @mbggenerated Thu Sep 05 20:11:35 CST 2019
     */
    List<Member> selectByExample(MemberExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table member
     *
     * @mbggenerated Thu Sep 05 20:11:35 CST 2019
     */
    Member selectByPrimaryKey(Integer memberId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table member
     *
     * @mbggenerated Thu Sep 05 20:11:35 CST 2019
     */
    int updateByExampleSelective(@Param("record") Member record, @Param("example") MemberExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table member
     *
     * @mbggenerated Thu Sep 05 20:11:35 CST 2019
     */
    int updateByExample(@Param("record") Member record, @Param("example") MemberExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table member
     *
     * @mbggenerated Thu Sep 05 20:11:35 CST 2019
     */
    int updateByPrimaryKeySelective(Member record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table member
     *
     * @mbggenerated Thu Sep 05 20:11:35 CST 2019
     */
    int updateByPrimaryKey(Member record);
}
>>>>>>> 79297cf758ff388ed3ea7d02640b718856076aad
